1
general::
On the verge of defeat or collapse, helpless, as in They acknowledged that their campaign was on the ropes, and they could not possibly win the election. This expression, alluding to a boxer forced back to the ropes of the ring and leaning against them for support, has been used figuratively since the mid1900s.
American Heritage Idioms